package com.ccjr.controller;

import com.ccjr.common.feign.service.FeignTestService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
@RequestMapping("/st")
public class HelloController {

    @Resource
    private FeignTestService feignTestService;

    @RequestMapping("/hello")
    public String hello(){
        return feignTestService.hello();
    }

}
